package com.ynny.mapper;

import com.ynny.entity.User;

import java.util.List;

public interface UserMapper {
    int insertUser(User user);

    int updateUser(User user);

    int deleteUser(Integer id);

    User selectUserById(Integer id);

    User selectUserByUserName(String username);

    List<User> selectAllUsers();
}
